function queue(fnc) {
  return function run(arg) {
    console.log(arg)
    fnc(arg)
  }
}


@queue()
function forSearch (params) {
  console.log(params)
}



forSearch({a:1})